
// moduleA.js
export const moduleA = {
    state: { count: 0, num: "asdaa" },
    mutations: {
        increment(state) {
            state.count++;
        }
    },
    actions: {
        incrementAction({ commit }) {
            commit('increment');
        }
    },
    getters: {
        count: state => state.count
    }
};